﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.PB
{
    /// <summary>
    /// 原材料领料
    /// </summary>
    [Table("PB_RawMaterialReceive")]
    public partial class PB_RawMaterialReceive
    {

        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 派工单Id
        /// </summary>
        public String DispatchId { get; set; }

        /// <summary>
        /// 派工单明细Id
        /// </summary>
        public String DispatchDetailId { get; set; }

        /// <summary>
        /// 物料Id
        /// </summary>
        public String MaterialId { get; set; }

        /// <summary>
        /// 任务单Id
        /// </summary>
        public String OrderId { get; set; }

        /// <summary>
        /// 任务单明细Id
        /// </summary>
        public String OrderDetailId { get; set; }

        /// <summary>
        /// 项目Id
        /// </summary>
        public String ProjectId { get; set; }

        /// <summary>
        /// 设计清单Id
        /// </summary>
        public String DesignId { get; set; }

        /// <summary>
        /// 领取数量
        /// </summary>
        public Double? Nums { get; set; }

        /// <summary>
        /// 理论重量
        /// </summary>
        public Double? Weight { get; set; }

        /// <summary>
        /// 领取时间
        /// </summary>
        public DateTime? CollectionTime { get; set; }

        /// <summary>
        /// 领取人Id
        /// </summary>
        public String CollectionUserId { get; set; }

        /// <summary>
        /// 领取仓库Id
        /// </summary>
        public String StorId { get; set; }

        /// <summary>
        /// 领取货位Id
        /// </summary>
        public String LocalId { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public String Remarks { get; set; }

        /// <summary>
        /// 创建人Id
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 删除状态：0=未删除；1＝已删除；
        /// </summary>
        public Boolean Deleted { get; set; }

        /// <summary>
        /// 隶属成品
        /// </summary>
        public String SubordinateProduct { get; set; }

        /// <summary>
        /// 工序ID
        /// </summary>
        public String ProcedureId { get; set; }

    }
}